Select subiecte Failed select subjects.*, count(texte.subject) as number from subjects, texte where subjects.moderator like '%:21767:%' and texte.subject=subjects.subject and texte.ref_user_id=21767 AND texte.status in (1,2,3,4) AND texte.lang='ron' group by subjects.subject